package cn.xianshu.basic.service;

import cn.xianshu.basic.query.BasicQuery;
import cn.xianshu.basic.util.PageList;
import java.util.List;

public interface IBasicService<T> {
    T findById(Long id);
    List<T> findAll();
    void insert(T t);
    void update(T t);
    void delete(Long id);
    PageList<T> queryList(BasicQuery query);
    void Bydelete(List<Long> ids);
}
